package com.jun.common.core.model;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
* @author yuejun.li
* @since 2024-04-29
*/
@Data
@Accessors(chain = true)
@Table(name = "admin_user")
@ApiModel(value = "AdminUser对象", description = "")
public class AdminUser implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("用户id")
    @Id
    private String userId;

    @ApiModelProperty("账号")
    @Column(name = "`account`")
    private String account;

    @ApiModelProperty("用户名称")
    @Column(name = "user_name")
    private String userName;

    @ApiModelProperty("密码")
    @Column(name = "`password`")
    private String password;


    public static final String USER_ID = "userId";

    public static final String ACCOUNT = "account";

    public static final String USER_NAME = "userName";

    public static final String PASSWORD = "password";
}
